require "Common/class"
require "Common/Base/BaseCtrl"
require "View/MyPromptPanel"

MyPromptCtrl = class("MyPromptCtrl",BaseCtrl)

function MyPromptCtrl:Awake(resName)
	self.curPanel = MyPromptPanel.New("MyPromptPanel")
	self.super:Awake(resName,self)
end

function MyPromptCtrl:ShowPanel(data)
	self.super.ShowPanel(self,data)
end

function MyPromptCtrl:InitCtrl()

end

function MyPromptCtrl:AddUIEvent()
	look("------------AddUIEvent---------------")
	self.luaBehaviour:AddClick(self.curPanel.btnOpen,function ()
		if ButtonHandle:ClickFastHand() then return end
			
	end)
end

function MyPromptCtrl:AddListener()
	
end

function MyPromptCtrl:RemoveListener()
	
end